/* Import a Google Font similar to the image */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@700&family=Roboto:wght@400&display=swap');

/* Basic page setup */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7f6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

/* The main form container */
.form-container {
    background-color: #ffffff;
    padding: 2.5rem 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 450px;
    box-sizing: border-box;
}

/* Form title, using the imported font */
.form-container h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 2.2rem;
    font-weight: 700;
    color: #33475b;
    /* Dark blue-grey from image */
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
}

/* Style for input fields */
.input-group {
    margin-bottom: 1.25rem;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    /* Important for padding to work with 100% width */
    transition: border-color 0.2s;
}

/* Placeholder text style */
.input-group input::placeholder {
    color: #aaa;
}

/* Focus style for inputs */
.input-group input:focus {
    outline: none;
    border-color: #e65645;
    /* Match button color */
    box-shadow: 0 0 0 3px rgba(230, 86, 69, 0.1);
}

/* Submit button style */
.submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    background-color: #e65645;
    /* Reddish-orange from image */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;

    /* For aligning text and icon */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.submit-btn:hover {
    background-color: #d94a3a;
}

.submit-btn:active {
    transform: scale(0.98);
}

/* Button icon style */
.submit-btn .icon {
    font-size: 1.2rem;
    line-height: 1;
    /* Helps with vertical alignment */
}

/* Style for the "Don't have an account?" text */
.form-switch {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #555;
}

.form-switch a {
    color: #e65645;
    text-decoration: none;
    font-weight: 600;
}

.form-switch a:hover {
    text-decoration: underline;
}